Welcome![Sign In][Sign Up]
Location:
Search - HTML delphi

Search list

[WEB Maildelphi代码

Description: 一个web页面下的发信组件,只能发送文本和html格式的邮件,支持二次开发。-a web page letter under the components, can only send text and html format of the mail, the development of secondary support.
Platform: | Size: 87940 | Author: leeh | Hits:

[Delphi VCL查看html文件的控件

Description: 查看html文件的控件,有链接事件,可以进行编程,比delphi自己带的html控件好,能显示html文件-View html document controls, links, can be programmed delphi themselves than with the html controls, and documents showing html
Platform: | Size: 993063 | Author: lpg1212 | Hits:

[Other在Delphi中使用Windows的HTML联机说明档的例子

Description: 在Delphi中使用Windows的HTML联机说明档的例子.rar-in Delphi Windows HTML help files online examples. Rar
Platform: | Size: 236730 | Author: 11 | Hits:

[Delphi VCL带附件及Html显示的邮件发送类

Description:

unit UnitSendMail;

interface

uses
  Windows, SysUtils, Classes,StdCtrls, ExtCtrls, ComCtrls, Dialogs,
  IdMessage, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
  IdExplicitTLSClientServerBase,IdMessageClient, IdSMTPBase, IdSMTP, IdText,
  IDAttachmentFile;

function SendEMail(SenderName, SenderAddress: PChar;
    Receivename, ReceiveAddress: PChar; MailSubject, MailContent: PChar;
    JpgFileName: PChar; SendType: Integer; PicID: PChar; IsCustom: Boolean;Attachment:PChar): Boolean; stdcall;
function ConnectMailServer(Host, UserName, Password: PChar;
    Port: Integer): Boolean; stdcall;
procedure DisconnectMail; stdcall;

type
  TSendMailObj = class
  private
    FHost: String;
    FPort: Integer;
    FUserName: String;
    FPassword: String;
    ASmtp: TIdSMTP;
  public
    property Host: string read FHost write FHost;
    property Port: Integer read FPort write FPort;
    property UserName: String read FUserName write FUserName;
    property Password: String read FPassword write FPassword;
    constructor Create;
    function ConnectServer: Boolean;
    function SendEMail(SenderName, SenderAddress: PChar;
      Receivename, ReceiveAddress: PChar; MailSubject, MailContent: PChar;
      JpgFileName: PChar; SendType: Integer; PicID: PChar;
      IsCustom: Boolean;Attachment:PChar): Boolean;
  end;

var
  SendObj: TSendMailObj;

implementation

function SendEMail(SenderName, SenderAddress: PChar;
    Receivename, ReceiveAddress: PChar; MailSubject, MailContent: PChar;
    JpgFileName: PChar; SendType: Integer; PicID: PChar; IsCustom: Boolean;Attachment:PChar): Boolean; stdcall;
begin
  Result :=  SendObj.SendEMail(SenderName, SenderAddress, Receivename,
          ReceiveAddress, MailSubject, MailContent,
            JpgFileName, SendType, PicID, IsCustom,Attachment);
end;

function ConnectMailServer(Host, UserName, Password: PChar;
    Port: Integer): Boolean; stdcall;
begin
  try
    //if SendObj = nil then
    SendObj := TSendMailObj.Create;
{    if SendObj.ASmtp.Connected then
      SendObj.ASmtp.Disconnect;  }
    SendObj.Host := StrPas(Host);
    SendObj.Port := Port;
    SendObj.Username := StrPas(UserName);
    SendObj.Password := StrPas(Password);
    Result := SendObj.ConnectServer;
  except
    Result := False;
  end;
end;

procedure DisconnectMail; stdcall;
begin
  if SendObj <> nil then
  begin
    if SendObj.ASmtp <> nil then
      SendObj.ASmtp.Disconnect;
    SendObj := nil;
    SendObj.Free;
  end;
end;
{ TSendMailObj }

function TSendMailObj.ConnectServer: Boolean;
begin
  ASmtp.Host := FHost;
  ASmtp.Port := FPort;
  ASmtp.Username := FUserName;
  ASmtp.Password := FPassword;
  try
    ASmtp.Connect;
    Result := ASmtp.Connected;
  except
    Result := False;
  end;
end;

constructor TSendMailObj.Create;
begin
  ASmtp := TIdSMTP.Create(nil);

end;

function TSendMailObj.SendEMail(SenderName, SenderAddress, Receivename,
  ReceiveAddress, MailSubject, MailContent, JpgFileName: PChar;
  SendType: Integer; PicID: PChar; IsCustom: Boolean;Attachment:PChar): Boolean;
var
  IdBody, IdHtml: TIdText;
  Att: TIdAttachmentFile;
  AMessage: TIdMessage;
  ASmtp_1: TIdSMTP;
begin
  ASmtp_1 := TIdSMTP.Create(nil);
  ASmtp_1.Host := FHost;
  ASmtp_1.Port := FPort;
  ASmtp_1.Username := FUserName;
  ASmtp_1.Password := FPassword;
  //ASmtp_1.AuthType := atDefault;
  ASmtp_1.Connect; // }
  if not ASmtp.Connected then
    ASmtp.Connect;
  AMessage := TIdMessage.Create(nil);
  with AMessage do
  begin
    NoDecode := False;
    NoEncode := False;
    ContentType := 'multipart/mixed';
    Encoding := meMIME;
    MsgId := 'PrettyPic';
    if FileExists(StrPas(JpgFileName)) then
      References := ChangeFileExt(ExtractFileName(StrPas(JpgFileName)), '')
    else
      References := '';
    Recipients.Clear;
    with Recipients.Add do
    begin
      Name := StrPas(Receivename);
      Address := StrPas(ReceiveAddress);
    end;
    Subject := StrPas(MailSubject);
    Sender.Name := StrPas(SenderName);
    Sender.Address := StrPas(SenderAddress);
    From.Name := Sender.Name;
    From.Address := Sender.Address;
    if SendType = 0 then
    begin
      IdBody := TIdText.Create(MessageParts);
      IdBody.ContentType := 'text/plain';
      IdBody.Body.Add(StrPas(MailContent));
      IdBody.Body.Add('');
    end
    else
    begin
      IdHtml := TIdText.Create(MessageParts);
      IdHtml.ContentType := 'text/html;charset=gb2312';
      IdHtml.ContentTransfer := '7bit';
      IdHtml.Body.Add(' <html>');
      IdHtml.Body.Add('  <head>');
      IdHtml.Body.Add('      <title>' + StrPas(MailSubject) + ' </title>');
      IdHtml.Body.Add('  </head>');
      IdHtml.Body.Add('  <body title="' + References + '">');
      IdHtml.Body.Add('    ' + StrPas(MailContent) + ' <br>');
      if (not IsCustom) and FileExists(StrPas(JpgFileName)) then
        IdHtml.Body.Add('      <img src="cid:' + StrPas(PicID) + '" alt="' + ExtractFileName(StrPas(JpgFileName)) +
                            '" name="' + ExtractFileName(StrPas(JpgFileName)) + '" title="">');
      IdHtml.Body.Add('  </body>');
      IdHtml.Body.Add(' </html>');
    end;
    if FileExists(StrPas(JpgFileName)) then
    begin
      Att := TIdAttachmentFile.Create(MessageParts, StrPas(JpgFileName));
      Att.ExtraHeaders.Values['Content-ID'] := StrPas(PicID);
      Att.ContentType := 'image/jpg';
    end;  
    if FileExists(StrPas(Attachment)) then
    begin
      Att := TIdAttachmentFile.Create(MessageParts, StrPas(Attachment));
    end;
  end;
  try
    ASmtp_1.Send(AMessage);
    if Att <> nil then
      Att.Free;
    if IdBody <> nil then
      IdBody.Free;
    if IdHtml <> nil then
      IdHtml.Free;
    if AMessage <> nil then
      AMessage.Free;
    ASmtp_1.Disconnect;

    ASmtp_1.Free; //}
    ASmtp.Disconnect;
    Result := True;
  except on e: Exception do
  begin
    Result := False;
  end;
  end;

end;

end.


Platform: | Size: 1685 | Author: kennyxue | Hits:

[Windows Develop项目助手:保存硬盘上的Htm文件为Mht文件

Description: 保存硬盘上的Htm文件为Mht文件 以前硬盘上保存了好多htm\html文件,看着很头疼 特地写了一个
Platform: | Size: 234072 | Author: dayhill | Hits:

[Delphi VCL82 将ie收藏夹导出为html文件

Description: 将ie的收藏夹导出成html格式-will ie favorites derived into html format
Platform: | Size: 180224 | Author: | Hits:

[WEB Maildelphi代码

Description: 一个web页面下的发信组件,只能发送文本和html格式的邮件,支持二次开发。-a web page letter under the components, can only send text and html format of the mail, the development of secondary support.
Platform: | Size: 88064 | Author: leeh | Hits:

[TreeViewTRichView1.9.15.1

Description: 用于显示、编辑和打印超文本文档,支持各种文字属性:字体、上下标、文字背景色、托拉等等。文档里可以包括表格、图片已经各种Delphi控件。段落可以实现左、右、中间对齐,多层次段标和编码,可定制的缩进。还支持Unicode编码、背景图片、打印预览、RTF输入输出、HTML输出。-for the show, edit and print-text documents in support of various character attributes : font, plus or standard, text background color, Bitola and so on. Li document may include forms, has various photographs Delphi controls. Paragraphs can be achieved left, right, middle alignment, multi-level and the standard of coding, custom indented. Also supports Unicode, background images, print preview, input and output RTF, HTML output.
Platform: | Size: 550912 | Author: 古风 | Hits:

[OS DevelopLinzhengqun_SourceTo

Description: SourceTo概述 SourceTo是一个源代码转换工具。它对于需要将源代码转成其他文本格式(比如HTML,RTF)的人来说将是一个好帮手。如果你有在网站上发表技术文章的习惯,赶快获得一个SourceTo,它将为你的文章增色不少... -SourceTo outlined SourceTo is a source code conversion tools. It will require the source code into the other text format (such as HTML, RTF) who will be a good helper. If you have published on the Web habits of technical articles, as soon as possible was a SourceTo. It will add to the excitement of your many articles ...
Platform: | Size: 1463296 | Author: 莫选齐 | Hits:

[Web ServerWebBrowser_HTML

Description: 直接访问WebBrowser控件中的HTML源码,不是通过document.body.innerHTML方式,而是通过IPersistStreamInit!-WebBrowser control direct access to the HTML source code, not by document.body.innerHTML way, but through IPersistStreamInit!
Platform: | Size: 9216 | Author: 王风 | Hits:

[Delphi/CppBuilderdelphi

Description: 一本delhpi的讲义,经典简洁内容丰富适合delphi初学者和晋级学员-1 delhpi lectures, classic simplicity delphi rich content for beginners and advanced students
Platform: | Size: 17940480 | Author: hongqing | Hits:

[BooksProgrammierkurs.html

Description: Delphi - Programmierkurs.html-Delphi- Programmierkurs.html
Platform: | Size: 726016 | Author: ahmed | Hits:

[OtherEd-HTML-src-0.1-alpha

Description: html editor delphi sources
Platform: | Size: 4397056 | Author: adam2006 | Hits:

[OtherSourceCode

Description: html+dll 编程 一个小程序, 希望可以帮助到大家-html+ dll programming
Platform: | Size: 1636352 | Author: lijian | Hits:

[Windows DevelopPBearHTMLViewerD2009

Description: TFrameViewer, ThtmlViewer, and TFrameBrowser The HTML component set consists of the ThtmlViewer, TFrameViewer, and TFrameBrowser components. All three are HTML document display components: ThtmlViewer The basic component. ThtmlViewer displays single (non-frame) documents. It also forms the basis for the other two components. TFrameViewer Displays both Frame and single HTML documents. TFrameViewer is oriented more for local disk file use. TFrameBrowser Also displays Frame and single HTML documents. However, TFrameBrower is oriented toward Internet style protocols and URL usage. Additional code and/or components are generally required to use TFrameBrowser. If you know that your appication will not be using Frames, you can save a fair amount of code overhead by using ThtmlViewer rather than one of the Frame components. Many operations are also simpler using ThtmlViewer. -TFrameViewer, ThtmlViewer, and TFrameBrowser The HTML component set consists of the ThtmlViewer, TFrameViewer, and TFrameBrowser components. All three are HTML document display components: ThtmlViewer The basic component. ThtmlViewer displays single (non-frame) documents. It also forms the basis for the other two components. TFrameViewer Displays both Frame and single HTML documents. TFrameViewer is oriented more for local disk file use. TFrameBrowser Also displays Frame and single HTML documents. However, TFrameBrower is oriented toward Internet style protocols and URL usage. Additional code and/or components are generally required to use TFrameBrowser. If you know that your appication will not be using Frames, you can save a fair amount of code overhead by using ThtmlViewer rather than one of the Frame components. Many operations are also simpler using ThtmlViewer.
Platform: | Size: 728064 | Author: hytrex | Hits:

[Delphi VCLDevExpress.ExpressWeb.Framework.v1.39.for.Delphi.

Description: Welcome to the world of ExpressWeb Framework - bringing RAD WYSIWYG web development to Delphi with the first integrated HTML designer for the Delphi 6/7 IDE. With ExpressWeb Framework, you are able to fully leverage your Delphi skills by using the same Property, Method, and Event model you ve come to know within Delphi itself to build any website or web application.
Platform: | Size: 6425600 | Author: Linces | Hits:

[Delphi VCLQuick.Report.Pro.v4.07.Delphi.2007

Description: QuickReport 是用于BCB和Delphi的一款报表组件,可以简单快速的输出数据库报表。QuickReport 支持创建打印预览以免浪费纸张,支持导出数据为其他文件格式如ASCII文本、逗号分割值的文件和HTML。QuickReport 本身由 Delphi 编写,支持Delphi 所有操作数据库的模式。因此您可以将它用于旧式的基于BDE 的数据库如Paradox 和 dBase,用于多层应用环境的客户端数据表,新的Delphi 5 ADO 和 Interbase Express 组件及第三方可选数据库如Apollo。如果您需要,甚至可以用QuickReport 格式化部件打印非不是存储在数据库里的数据。-QuickReport for BCB and Delphi, a reporting component that can output simple and fast database reports. QuickReport support the creation of print preview to avoid wasting paper, to support export data to other file formats such as ASCII text, comma-separated value files and HTML. QuickReport itself is prepared by Delphi to support all operations Delphi database model. So you can use it for the old BDE-based databases such as Paradox and dBase, multi-application environment for the client-side data table, the new Delphi 5 ADO, and Interbase Express components and an optional third-party databases such as Apollo. If you need to, even the non-printing parts with the QuickReport format is not stored in the database data.
Platform: | Size: 1809408 | Author: 学习者 | Hits:

[ISAPI-IEHTMLParser

Description: My Saple of HTML Parsing
Platform: | Size: 466944 | Author: Vayrus | Hits:

[Delphi VCLdelphi-TXTReader

Description: 功能说明 1、运行于Windows9x、WindowsNT系统上,不必安装,可以直接运行。 2、最大可以打开2MB的文件,最多可以保存50个最新打开的文件。 3、支持TXT、HTML、RTF、GB、ZIP等格式的文件。 4、书本最小化后,以图标的形式存放于任务栏“托盘”中。 5、可以进行BIG5=>GB、GB=>BIG5双向转换,以及GB、BIG5码的自动识别。不需要其它内码转换工具。 6、可以进行编辑。 7、智能分段。 8、行距加倍和全屏显示。 9、自定义下划线以便阅读。 10、全文查找。 11、剪贴板查看。 12、预览文件。 13、时间显示和定时提醒。 14、支持MPA、MP1、MP2、MP3音乐(需要TaleMP3.dat支持)。 15、支持ZIP格式的文件(需要TaleZIP.dat支持)。 16、可以选择性的清除历史文件,并且可以制作自己的书库。-Function 1, running on Windows9x, WindowsNT system, without having to install, can run. 2, max 2MB file can be opened up to save the 50 most recently opened files. 3, supports TXT, HTML, RTF, GB, ZIP and other file formats. 4, the book minimized to the icon stored in the task bar in the form of "pallets" in the. 5, can be BIG5 => GB, GB => BIG5-way conversion, as well as GB, BIG5 code automatic identification. No other code conversion tool. 6, can be edited. 7, Smart sub. 8, line spacing, double and full screen display. 9, custom underlined in order to read. 10, full-text search. 11, clipboard view. 12, preview files. 13, time display, and timed reminders. 14, support the MPA, MP1, MP2, MP3 music (requires TaleMP3.dat support). 15, support the ZIP file format (requires TaleZIP.dat support). 16, you can selectively clear the history file and can create their own stacks.
Platform: | Size: 962560 | Author: | Hits:

[Delphi VCLThtmlLite

Description: Delphi component to display html documents.
Platform: | Size: 1406976 | Author: bruo | Hits:
« 12 3 4 5 6 7 8 9 10 »

CodeBus www.codebus.net